﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using _4T.BLL;
using _4T.Data;

namespace _4T.ASCX
{
    public partial class ProfileValidateListControl : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            LoadProfileList();
        }

        private void LoadProfileList()
        {
            if (Session["User"] != null)
            {
                string verifierName = Session["User"].ToString();
                rptProfile.DataSource = new PersonalInfoBLL().GetAllProfileByVerifier(verifierName);
                rptProfile.DataBind();
            }
        }
    }
}